<a name="top"></a>
<script>
	var myparent="20-9.html";
  var current_toplocation=new String(top.location);
  var question_mark_pos=current_toplocation.lastIndexOf("?");
  if(question_mark_pos != -1)
     current_toplocation=current_toplocation.substring(0,question_mark_pos);
  var pos=current_toplocation.lastIndexOf("/");
  var topfilename=current_toplocation.substring(pos+1);
  alert("toploation="+top.location+"\ntopfilename="+topfilename); 
  if(topfilename != myparent )
	{
  	var orphan_url=self.location.href;
  	var reframe_url=myparent+"?"+orphan_url;
  	location.href=reframe_url;//in the frameset page,the subframe has been navigated to orphan_url.
	} 
  document.write(self.parent.location);
  for(var i=0;i<10;i++)
  {
    document.write("<br>TTTT");
  }
</script>
<a name="bottom"></a><h1>20-9c.html</h1>

